<%= simple_form_for([@item, @inspection]) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :inspection_date, as: :string, input_html: {
      class: 'datetimepicker', size: 11, value: format_datetime_value(f.object.inspection_date)
    } %>

    <%= f.input :status, as: :select, collection: Inspection::STATUS_CHOICES, selected: "Incomplete" %>
    <%= f.input :person_id, as: :select, collection: @inspectors, allow_blank: true, label: 'Inspector' %>
    <%= f.input :comments %>
  </div>

  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>
